# def calcircle():
#     r = int(input("园的半径"))
#     print(2*3.14*r)
#     print(3.14*r*r)
#
# a, b=(1,0)
# print(a+b)

# def cal_list_average(l):
#     return round(sum(l) / len(l), 2)

# def get_factorial(n):
#     ret = 1
#     for i in range(1, n + 1):
#         ret *= i
#
#     return ret
#
# print(get_factorial(5))
# print(get_factorial(10))
# print(get_factorial(15))

# def foo(x):
#     x[0] = 100
#     x.append(4)
#     print(x)
#
# l = [1, 2, 3]
# foo(l)
# print(l)

x = 10

def my_func():
    print(x)

def outer():
    x = 20
    my_func()

outer()